package com.dotndot.momserver.data;

import java.util.*;

import javax.jdo.annotations.*;

@PersistenceCapable( identityType = IdentityType.APPLICATION )
public class Alarm
{
    @PrimaryKey
    @Persistent( valueStrategy = IdGeneratorStrategy.IDENTITY )
    private Long index;

    @Persistent
    private Long babyIndex;

    @Persistent
    private String content;

    @Persistent
    private Date date;

    public void setIndex( Long index )
    {
        this.index = index;
    }

    public Long getIndex()
    {
        return index;
    }

    public void setBabyIndex( Long babyIndex )
    {
        this.babyIndex = babyIndex;
    }

    public Long getBabyIndex()
    {
        return babyIndex;
    }

    public void setContent( String content )
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setDate( Date date )
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
}
